package com.qdlc.p2p.dal.dao;

import java.util.Date;

import com.qdlc.p2p.dal.common.dao.BaseDao;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.User;
import com.qdlc.p2p.dal.dto.UserVipGrowthLog;
import com.qdlc.p2p.dal.model.UserVipGrowthLogModel;
/**
 * VIP成长值 dao
 * @author zlhx
 * @version 2.0
 * @date 2015-05-16 10:34:00
 *
 */
public interface UserVipGrowthLogDao extends BaseDao<UserVipGrowthLog>{
	/**
	 * 获取当天 vip成长值
	 * @param tender
	 * @return
	 */
	double getGrowthTotalByTender(User user,Date date);

	PageDataList<UserVipGrowthLogModel> getUserVipGrowthLogListByUserId(
			long userId, int page, int size);

}
